<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Add Account</title>
</head>
<body>
<form:form commandName="account">
	번호 <form:input path="number" readonly="true" />
	<br>
	이름: <form:input path="name" />
	<form:errors path="name" />
	<br>
	국적: <form:select path="nationality">
		<form:option value="-" label="선택하세요." />
		<form:options items="${countries}" itemLabel="label" />
	</form:select>

	<form:errors path="nationality" />
	<br>
	가입일: <form:input path="registrationDate" />
	<form:errors path="registrationDate" /> (yyyy-MM-dd)
	<br>
	<input type="submit" value="Save Changes" />
</form:form>
</body>
</html>